from mitmproxy import ctx
from collections.abc import Sequence
from collections.abc import Mapping

from collections import defaultdict

my_dict = defaultdict(dict)
my_value = my_dict['abc']
print(my_value)
pass

#
# class Counter:
#     def __init__(self):
#         self.num = 0
#
#     def request(self, flow):
#         if flow.request.host == 'www.baidu.com':
#             self.num = self.num + 1
#             print('request url:', flow.request.url)
#
# addons = [
#     Counter()
# ]
